package com.time.hellotime.servermodel.task;

import com.google.gson.annotations.SerializedName;
import com.time.hellotime.servermodel.AppBanner;

import java.util.List;

/**
 * Created by Bing on 2017/11/17.
 * E-mail is tx16bing@163.com
 */

public class TaskData {


    /**
     * timeService : 累积公益时间的毫秒值  例如 123123123
     * timeCoin : 用户时间币数量 例如 12.12
     * todayActTotalTime : 当天公益的时间 格式： 0
     * nowTime :  现在时间 专门用来倒数，由于顶上的时间是一个倒数的时间 格式：2017-12-12 12:12:12
     * loginAwardTimeCoins : 如果是0，那么就没有登陆奖励，如果不是0，那么就显示该数字的奖励 ，例 0.12
     */

    @SerializedName("timeService")
    private String timeService;
    @SerializedName("timeCoin")
    private String timeCoin;
    @SerializedName("todayActTotalTime")
    private String todayActTotalTime;
    @SerializedName("nowTime")
    private String nowTime;
    @SerializedName("loginAwardTimeCoins")
    private String loginAwardTimeCoins;
    @SerializedName("endTime")
    private String endTime;
    @SerializedName("unReadMsgNotify")
    private String unReadMsgNotify;
    @SerializedName("bannerArray")
    private List<AppBanner> banners;
    @SerializedName("clockInArray")
    private List<ClockInArray> clockInArrays;
    @SerializedName("recentActArray")
    private List<RecentActArray> recentActArrays;


    public String getTimeService() {
        return timeService;
    }

    public void setTimeService(String timeService) {
        this.timeService = timeService;
    }

    public String getTimeCoin() {
        return timeCoin;
    }

    public void setTimeCoin(String timeCoin) {
        this.timeCoin = timeCoin;
    }

    public String getTodayActTotalTime() {
        return todayActTotalTime;
    }

    public void setTodayActTotalTime(String todayActTotalTime) {
        this.todayActTotalTime = todayActTotalTime;
    }

    public String getNowTime() {
        return nowTime;
    }

    public void setNowTime(String nowTime) {
        this.nowTime = nowTime;
    }

    public String getLoginAwardTimeCoins() {
        return loginAwardTimeCoins;
    }

    public void setLoginAwardTimeCoins(String loginAwardTimeCoins) {
        this.loginAwardTimeCoins = loginAwardTimeCoins;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getUnReadMsgNotify() {
        return unReadMsgNotify;
    }

    public void setUnReadMsgNotify(String unReadMsgNotify) {
        this.unReadMsgNotify = unReadMsgNotify;
    }

    public List<AppBanner> getBanners() {
        return banners;
    }

    public void setBanners(List<AppBanner> banners) {
        this.banners = banners;
    }

    public List<ClockInArray> getClockInArrays() {
        return clockInArrays;
    }

    public void setClockInArrays(List<ClockInArray> clockInArrays) {
        this.clockInArrays = clockInArrays;
    }

    public List<RecentActArray> getRecentActArrays() {
        return recentActArrays;
    }

    public void setRecentActArrays(List<RecentActArray> recentActArrays) {
        this.recentActArrays = recentActArrays;
    }

    public static class ClockInArray {

        /**
         * title : 活动标题
         * startDate : 活动开始日期  2017-12-12
         * endDate : 活动结束日期  2017-12-12
         * startTime : 活动开始时间2017-11-01 11:11:11
         * endTime : 活动结束时间，一般为0
         * picUrl : 图片地址
         * state : （recruiting征集中(如果时间是今天,并且是当前状态，可以开始活动),executing执行中(可以开始打卡),finished已完结 一般不处理）
         * type : unClockOn未打卡 ,userStart(用户已打开始卡)，userEnd(用户已打结束卡),systemEnd（系统打结束卡）
         */

        @SerializedName("activitiesId")
        private String id;
        @SerializedName("actChildId")
        private String actChildId;
        @SerializedName("title")
        private String title;
        @SerializedName("startDate")
        private String startDate;
        @SerializedName("endDate")
        private String endDate;
        @SerializedName("startTime")
        private String startTime;
        @SerializedName("endTime")
        private String endTime;
        @SerializedName("picUrl")
        private String picUrl;
        @SerializedName("state")
        private String state;
        @SerializedName("type")
        private String type;
        @SerializedName("longitude")
        private String longitude;
        @SerializedName("latitude")
        private String latitude;
        @SerializedName("location")
        private String location;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getStartDate() {
            return startDate;
        }

        public void setStartDate(String startDate) {
            this.startDate = startDate;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getActChildId() {
            return actChildId;
        }

        public void setActChildId(String actChildId) {
            this.actChildId = actChildId;
        }
    }

    public static class RecentActArray {

        @SerializedName("id")
        private String id;
        @SerializedName("title")
        private String title;
        @SerializedName("coverPicUrl")
        private String coverPicUrl;
        @SerializedName("city")
        private String city;
        @SerializedName("content")
        private String content;
        @SerializedName("contentUrl")
        private String contentUrl;
        @SerializedName("createAt")
        private String createAt;
        @SerializedName("endDate")
        private String endDate;
        @SerializedName("introduction")
        private String introduction;
        @SerializedName("type")
        private String type;
        @SerializedName("longitude")
        private String longitude;
        @SerializedName("latitude")
        private String latitude;
        @SerializedName("location")
        private String location;
        @SerializedName("province")
        private String province;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCoverPicUrl() {
            return coverPicUrl;
        }

        public void setCoverPicUrl(String coverPicUrl) {
            this.coverPicUrl = coverPicUrl;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getContentUrl() {
            return contentUrl;
        }

        public void setContentUrl(String contentUrl) {
            this.contentUrl = contentUrl;
        }

        public String getCreateAt() {
            return createAt;
        }

        public void setCreateAt(String createAt) {
            this.createAt = createAt;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public String getIntroduction() {
            return introduction;
        }

        public void setIntroduction(String introduction) {
            this.introduction = introduction;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }
    }
}
